package com.wyvoid.core.tag;

import java.util.Date;

public class TGCalendarEvent {
    private Date start = new Date();
    private Date end = null;
    private String title;
    private String icon;
    private String link;

    public Date getStart() {
        return start;
    }
    public void setStart(Date date) {
        this.start = date;
    }
    public Date getEnd() {
        if (end != null){
            return end;
        }
        return start;
    }
    public void setEnd(Date date) {
        this.end = date;
    }
    public String getIcon() {
        return icon;
    }
    public void setIcon(String icon) {
        this.icon = icon;
    }
    public String getLink() {
        return link;
    }
    public void setLink(String link) {
        this.link = link;
    }
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
}
